﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HJ_SQL_ToTable
{
    /// <summary>
    ///     代表表格字段名
    /// </summary>
    public class SQLField
    {
        /// <summary>
        ///     字段名
        /// </summary>
        public string FieldName;

        /// <summary>
        ///     字段类型
        /// </summary>
        public string FieldType;

        /// <summary>
        ///     字段长度
        /// </summary>
        public int FieldLength;

        /// <summary>
        ///     是否可以设置为空
        /// </summary>
        public bool CanSetNull;

        /// <summary>
        ///     是否是主键
        /// </summary>
        public bool IsPrimaryKey;
    }
}
